package com.meila.cms.dao;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.meila.cms.entity.PartsDesign;
import com.meila.cms.model.PartsDesignModel;

public interface PartsDesignMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PartsDesignModel record);

    int insertSelective(PartsDesignModel record);

    PartsDesignModel selectByPrimaryKey(Integer id);
    
    PartsDesignModel selectByPartsNo(String partsNo);

    int updateByPrimaryKeySelective(PartsDesignModel record);

    int updateByPrimaryKey(PartsDesignModel record);

	List<PartsDesignModel> findParts(PartsDesignModel partsDesignModel, PageBounds pageBounds);

	int findPartsCount(PartsDesignModel partsDesignModel, PageBounds pageBounds);	
	
	List selectParts();
}